#ifndef DEVTYPESEL_H
#define DEVTYPESEL_H

#include <QDialog>
#include <QString>

class QComboBox;
class QTableWidget;
//class QPushButton;
class QDialogButtonBox;

class DevTypeSel : public QDialog
{
    Q_OBJECT

public:
    DevTypeSel(bool modifiable, const QString& strDev, QWidget *parent = 0);

private slots:
    void selFinished();
    void devTypeChanged(int index);

public:
    static const int TABLE_CHINFO_ROWS = 8;
    static const int TABLE_CHINFO_COLS = 1;

    QStringList *strListDevType;
//    int devTypeIndex;

	QString currentDev;
    int chnNum;

private:
    QComboBox *cmbDevType;
    QTableWidget *tableChInfo;
//    QPushButton *btnOk;
//    QPushButton *btnCancel;
	QDialogButtonBox *buttonBox;
};

#endif // DEVTYPESEL_H
